package com.lxy.mychat1.Bean;

import java.util.Date;

public class ChatItem {
    private int userimg;
    private String username;
    private String lastcontent;
    Date lastdate;

    public ChatItem() {

    }

    public ChatItem(int userimg, String username, String lastcontent, Date lastdate) {
        this.userimg = userimg;
        this.username = username;
        this.lastcontent = lastcontent;
        this.lastdate = lastdate;
    }

    public int getUserimg() {
        return userimg;
    }

    public void setUserimg(int userimg) {
        this.userimg = userimg;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getLastcontent() {
        return lastcontent;
    }

    public void setLastcontent(String lastcontent) {
        this.lastcontent = lastcontent;
    }

    public Date getLastdate() {
        return lastdate;
    }

    public void setLastdate(Date lastdate) {
        this.lastdate = lastdate;
    }

}
